﻿namespace Agile.DataAccess
{
    /// <summary>
    /// 
    /// </summary>
    public interface IExecuteReturnLastId
    {
        /// <summary>
        /// 执行SQL语句并返回自增ID
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="identityColumnName"></param>
        /// <returns></returns>
        T ExecuteReturnLastId<T>(string identityColumnName = null);        
    }
}